Component({
    properties: {
        datainfo: {
            type: null
        },
        ind: {
            type: null
        },
        integralname: {
            type: String
        }
    },
    data: {},
    lifetimes: {
        attached: function() {
            var t = wx.getStorageSync("langIndex");
            this.setData({
                language: t.en
            });
        }
    },
    methods: {
        claim: function(t) {
            var e = {};
            e.index = t.currentTarget.dataset.index, e.item = t.currentTarget.dataset.item, 
            this.triggerEvent("claim", e);
        },
        showIntegralExchange: function(t) {
            var e = {};
            e.index = t.currentTarget.dataset.index, e.item = t.currentTarget.dataset.item, 
            this.triggerEvent("showIntegralPopup", e);
        }
    }
});